package homework.test1;

public class Demo1 {
    public static void main(String[] args) throws ClassNotFoundException {
        //1.源码阶段
        Class clazz = Class.forName("homework.test1.Student");
        System.out.println(clazz);

        //2.类加载阶段
        Class clazz2 = Student.class;
        System.out.println(clazz2);

        //3.创建对象阶段
        Student stu = new Student();
        Class clazz3 = stu.getClass();
        System.out.println(clazz3);
    }
}
